<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 
        table 表格
            布局表标签
            thead
            tbody
            tfoot

            tr 行
            td/th(加粗，居中) 单元格
     -->
    <table border="1">
        <thead>
            <tr>
                <th>姓名</th>
                <th>性别</th>
                <th>年龄</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>tom</td>
                <td>male</td>
                <td rowspan="2">22</td>
            </tr>
            <tr>
                <td>lucy</td>
                <td>female</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td>人数</td>
                <td colspan="2">2</td>
            </tr>
        </tfoot>
    </table>
</body>
</html>